<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ include file="page/head/head.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>物业管理平台</title>
		<link type="text/css" rel="stylesheet"
			href="<%=path%>/css/login/css/css.css" />
		<script type="text/javascript"
			src="<%=path%>/resource/js/jquery/1.6.2/jquery-1.6.2.min.js">
		</script>
		<script type="text/javascript"
			src="<%=path%>/resource/js/jquery/jquery.form.js">
		</script>
		<script type="text/javascript" src="<%=path%>/login.js">
		</script>
		<script type="text/javascript"
			src="<%=path%>/resource/js/jquery/jquery.pngFix.js">
		</script>
		<script language="javascript">
		function supports_placeholder() {
			var i = document.createElement('input');
			return 'placeholder' in i;
		}
		function jplaceholder(jq) {
			if (!supports_placeholder()) {
				var ispassword = jq.attr('type') == 'password';
				var duplicate = $("<input type='text' />");
				if (ispassword) {
					//copy prop
					duplicate.attr("class", jq.attr("class"));
					duplicate.attr("style", jq.attr("style"));
					duplicate.val(jq.attr("placeholder"));
					duplicate.focus(function() {
						duplicate.hide();
						jq.show().focus();
					});
					jq.after(duplicate);
					jq.hide();
				} else {
					jq.addClass('placeholder');
					jq.val(jq.attr('placeholder'));
				}
				jq.focus(function() {
					if (!ispassword) {
						var input = $(this);
						if (input.val() == input.attr('placeholder')) {
							input.val('');
							input.removeClass('placeholder');
						}
					}
				}).blur(function() {
					var input = $(this);
					if (input.val() == '' || input.val() == input.attr('placeholder')) {
						if (!ispassword) {
							input.addClass('placeholder');
							input.val(input.attr('placeholder'));
						} else {
							jq.hide();
							duplicate.show();
						}
					}
				});
				jq.parents('form').submit(function() {
					$(this).find('[placeholder]').each(function() {
						var input = $(this);
						if (input.val() == input.attr('placeholder')) {
							input.val('');
						}
					});
				});
			}
		}
		
		$(function() {
			$('input[placeholder]').each(function(i, o) {
				jplaceholder($(o));
			});
		});
		</script>
	</head>

	<body>
		<div class="header">
			<div class="nav">
				<div class="logo">
					<%-- <img src="<%=path%>/css/login/images/ydlogo1.png" /> --%>
				</div>
				<div class="menu">
					<a href="#">设为首页</a><a
						href="#">加入收藏</a>
				</div>
			</div>
			<div class="banner">
				<div id="login" style="height: 370px">
					<div class="regist clearfix" style="top: 250px">
						<a href="http://www.lilangtech.com/" target="_blank">访问公司网站</a><br />
						<a href="http://www.lishenghuo.com.cn/" target="_blank" style="margin-top: 5px;">访问励生活网站</a>
					</div>
					<div id="modLoginWrap" class="mod-qiuser-pop">
						<form id="loginForms" name="loginForms" method="post">
							<dl class="login-wrap">
								<dt>
									<span id="loginTitle"></span>
								</dt>
								<dd>
									<div class="clearfix login-item">
										<label>
											帐号
										</label>
										<span class="input-bg"> <input value=''
												 type="text" placeholder="请输入您的用户名"
												id="user_name" name="sysUserLoginBean.userName"
												autocomplete="off" maxlength="100" class="ipt tipinput1"
												onkeyup="alterFocus(event);" /> 
										</span>
										<b class="tips-wrong icon-userNameLogin"
											style="display: none;"></b>
									</div>
								</dd>
								<dd>
									<div class="clearfix login-item">
										<label>
											密码
										</label>
										<span class="input-bg"> <input  placeholder="请输入您的密码"
												id="user_password" name="sysUserLoginBean.password"
												onkeyup="alterVerificationFocus(event);" type="password"
												 maxlength="20" autocomplete="off"
												class="ipt tipinput1"  value=''/>
										</span>
										<b class="tips-wrong icon-lpassword"></b>
									</div>
								</dd>
								<dd>
									<div class="clearfix login-item">
										<label>
											简码
										</label>
										<span class="input-bg"> <input  placeholder="请输入您的企业简码"
												type="text"  maxlength="20" autocomplete="off"
												class="ipt tipinput1" name="sysUserLoginBean.simpleCode" value=''/>
										</span>
										<b class="tips-wrong icon-lpassword"></b>
									</div>
								</dd>
								<dd><div id="error_tips" class="login-error"></div></dd>
								<dd class="submit">
									<input type="hidden" name="op" value="login" />
									<input type="hidden" id="path" value='<%=path%>' />
									<input type="button" class="btn-login" id="loginButton" />
								</dd>
							</dl>
						</form>
					</div>
				</div>
			</div>
			<div class="footer">
				 技术支持：<a href="http://www.lilangtech.com/" target="_blank">重庆市物联利浪科技有限公司</a>
				|
				服务热线：400-102-6010
			</div>
		</div>
	</body>
</html>

